home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / BIOS386.ARJ / BIOS.DEF next >
Text File  |  1992-04-07  |  31KB  |  616 lines

  1.  
  2.  
  3.                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  4.                     SOURCER DEFINITION FILE - BIOS VERSION
  5.                   ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  6.  
  7.  
  8.    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Section 1   CONTROL INFORMATION   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  9.  
  10.  comments are indented one or more spaces
  11.  ┌─── Section 1 instructions──────────────────────────────────────────────────┐
  12.  │                                                                            │
  13.  │ Enter any of the following options, starting in the 1st column             │
  14.  │  (for no options enter "none" )  Only the first letter of the              │
  15.  │  command is necessary.                                                     │
  16.  │                                                                            │
  17.  │  Analysis option    = xxxxx Any option letters A-Z can be used.  Upper     │
  18.  │                              case indicates turning option on, lower case  │
  19.  │                              turns the option off.   See manual for a      │
  20.  │                              complete list of options.                     │
  21.  │                               I - Inhibit graphics characters              │
  22.  │                               L - use for MASM versions prior to 4.5       │
  23.  │                               M - use for MASM versions prior to 4.5       │
  24.  │  Code style         = xxx   Code style types include:                      │
  25.  │                              com, exe, fragment, zero start,               │
  26.  │                              device driver, or overlay                     │
  27.  │  Drive              = x     Disk drive for output (letter a-z)             │
  28.  │  Format             = xxx   Output format ASM or LST for source code or    │
  29.  │                              listing output (LST is the default)           │
  30.  │  Go                         When the .def file has loaded, go              │
  31.  │  Header             = xxx   Enter the ascii header string (32 char max)    │
  32.  │  Input filename     = xxx   Filename for input (may include disk & path)   │
  33.  │  Keep segments      = xxx   When loading a file, use the file defined      │
  34.  │                              segments (FILE), use the def file segments    │
  35.  │                              in section 2 (DEF) or use both (BOTH)         │
  36.  │                              NOTE: Specify this option prior to file input │
  37.  │                              BOTH is the default, used in most cases       │
  38.  │  Label              = xxx   Select label type, Decimal, Zero fill,         │
  39.  │                              Segment & offset, Letter segment & offset     │
  40.  │  Math on                    Use the math co-processor instruction set      │
  41.  │  None                       Use default commands only                      │
  42.  │  Output filename    = xxx   Filename for output (may include drive & path) │
  43.  │  Passes             = x     Select the number of passes from 2 to 9        │
  44.  │  Remark             = xxx   Select remarks to be included: All, None,      │
  45.  │                              Data remarks only, Interrupts & I/O only,     │
  46.  │                              Others only, Except Data, Except Interrupts,  │
  47.  │                              Except Others                                 │
  48.  │  Segment display off        Turn off the display of segments on listings   │
  49.  │  Tabs off                   Only use spaces, no tabs                       │
  50.  │  uP                 = xxx   Select the uP from:                            │
  51.  │                              8088, V20/V30, 80186, 80286, P286, 80386,     │
  52.  │                              P386, 80486, P486 or AUTO for automatic       │
  53.  │  Vertical lines     = xxx   For listings, select the number of lines per   │
  54.  │                              page from 10 to 255 (default is 59)           │
  55.  │  Words to upper case        Set upper case style (lower case is default)   │
  56.  │  Xref               = xx    ON or OFF (selecting ON sets passes to 5)      │
  57.  │                                                                            │
  58.  └────────────────────────────────────────────────────────────────────────────┘
  59.  
  60.  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Section 1: CONTROL INFORMATION   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  61.  
  62. Analysis flags     = H  
  63. Header             = BIOS ROM Analysis
  64. uP                 = Maximum
  65. Math on
  66. Code style         = exe
  67. Xref               = ON
  68.  
  69.  
  70.  
  71.    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Section 2    RANGE DEFINITION     ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  72.  
  73.  ┌─── Section 2 instructions──────────────────────────────────────────────────┐
  74.  │                                                                            │
  75.  │  segment:offset = start processing location (hex)                          │
  76.  │                     see note 3 at end on referencing loaded file segments  │
  77.  │                                                                            │
  78.  │  end offset     = ending location for segment                              │
  79.  │                                                                            │
  80.  │  default ds, es = default used when not overwritten by in-line code        │
  81.  │                                                                            │
  82.  │  segment type   = auto  - code/data, full data resolving                   │
  83.  │                   code  - code, limited data resolving                     │
  84.  │                   data  - data, no code processed                          │
  85.  │                   stack - stack, no code processed                         │
  86.  │                   rauto - ROM code/data (same as "auto") in ROM            │
  87.  │                   rcode - ROM code (same as "code") in ROM                 │
  88.  │                                                                            │
  89.  │  segment size   = use16 for 16 bit segments (this is the default)          │
  90.  │                   use32 for 32 bit segments. The text use32 may not be     │
  91.  │                   abbreviated.                                             │
  92.  │                                                                            │
  93.  └────────────────────────────────────────────────────────────────────────────┘
  94.  
  95.  
  96.  ▒▒▒▒ Segments ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  97.  
  98.   begin      end      default      seg   seg  
  99.  seg:off     off     ds     es     type  size                 comments
  100.  -------     ----    ----   ----   ----- -----    --------------------------------
  101. 0000:0000    004F    0000    0000  data  use16    ; Interrupt vectors
  102. 0000:0400    04CF    0000    0000  data  use16    ; BIOS data segment (duplicates)
  103. 0040:0000    0100    0000    0000  data  use16    ; BIOS data segment
  104. 0050:0000    0001    0000    0000  data  use16    ; BIOS data segment
  105. F000:8000    FFFF    0040    0040  rauto use16    ; Code segment and defaults
  106.  
  107.  
  108.    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Section 3  REFERENCE DEFINITIONS ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  109.  
  110.  ┌─── Section 3 instructions──────────────────────────────────────────────────┐
  111.  │                                                                            │
  112.  │  segment:offset = absolute location of item (hex)                          │
  113.  │                    see note 3 at end on referencing loaded file segments   │
  114.  │                                                                            │
  115.  │  typ            = type field                                               │
  116.  │                    DB = data byte                                          │
  117.  │                    DW = data word                                          │
  118.  │                    DD = double word                                        │
  119.  │                    DA = ascii text byte(s)                                 │
  120.  │                    DS = data structure                                     │
  121.  │                    SUB = subroutine reference (S can also be used)         │
  122.  │                    LOC = location reference   (L can also be used)         │
  123.  │                    FORCE = forced function    (F can also be used)         │
  124.  │                                                                            │
  125.  │  options (indicate one or more options with a comma separator)             │
  126.  │                                                                            │
  127.  │     data options:  , C xxx    comment number xxx (from 1 to 3FF)           │
  128.  │                    , EQU      treat label as an equate                     │
  129.  │                    , DUP      duplicate same bytes/words R times           │
  130.  │                    , INDEX    replace a index of the same value            │
  131.  │                    , MULTI    multi-defined label                          │
  132.  │                    , OSN      offset sub_xxx               (Sub Near)      │
  133.  │                    , OSF      offset sub_xxx, seg sub_xxx  (Sub Far)       │
  134.  │                    , OLN      offset loc_xxx               (Loc Near)      │
  135.  │                    , OLF      offset loc_xxx, seg loc_xxx  (Loc Far)       │
  136.  │                    , ODN      offset data_xxx              (Data Near)     │
  137.  │                    , ODF      offset data_xx, seg data_xx  (Data Far)      │
  138.  │                    , R xxxx   repeat 0 to FFFF, (FFFF bytes max)           │
  139.  │                                 (i.e. dw, R 4    indicates 8 bytes)        │
  140.  │                    , SEG      item is a segment name (dw only)             │
  141.  │                    , UNUSED   if item is never referenced, then do not use │
  142.  │                                                                            │
  143.  │      Location      , C xx     comment number xx (from 1 to FF)             │
  144.  │         options:   , EXT      external entry point to program              │
  145.  │                    , FAR      far procedure                                │
  146.  │                    , NEAR     near procedure                               │
  147.  │                              Note: EXT, FAR & NEAR all reset the simulator │
  148.  │                    , UNUSED   if item is never referenced, then do not use │
  149.  │                                                                            │
  150.  │      Subroutine    , C xx     comment number xx (from 1 to FF)             │
  151.  │         options:   , FAR      subroutine is defined as FAR                 │
  152.  │                    , TERM     subroutine terminates (does not return to    │
  153.  │                                 caller)                                    │
  154.  │                    , UNUSED   if item is never referenced, then do not use │
  155.  │                                                                            │
  156.  │       Forced       , CODE     switch to code mode                          │
  157.  │          options:  , DATA     switch to data mode                          │
  158.  │                    , CODE16   switch to 16 bit code mode                   │
  159.  │                    , CODE32   switch to 32 bit code mode                   │
  160.  │                    , ENDP     force a endp to appear after instruction     │
  161.  │                    , AX=xxxx  change the value of any simulation           │
  162.  │                               register ax/bx/cx/dx/bp/si/di/sp             │
  163.  │                                        ds/es/ss/fs/gs                      │
  164.  │                    , EAX=xxxx  change the value of any 32 bit simulation   │
  165.  │                                register eax/ebx/ecx/edx/ebp/esi/edi        │
  166.  │                    , EAx      LEA instruction's reference item type        │
  167.  │                                 EAS for sub, EAL for location, EAD for data│
  168.  │                                 optional segment follows                   │
  169.  │                    , Ox       convert immediate value to offset            │
  170.  │                               OS for sub, OL for location, OD for data     │
  171.  │                               optional segment follows (cs segment default)│
  172.  │                    , REG      display the internal simulation registers    │
  173.  │                                                                            │
  174.  │                            Forced index table analysis for calls & jumps   │
  175.  │                    , SN       table type "offset sub_xx"                   │
  176.  │                    , SF       table type "offset sub_xxx, seg sub_xxx"     │
  177.  │                    , LN       table type "offset loc_xx"                   │
  178.  │                    , LF       table type "offset loc_xxx, seg loc_xxx     │
  179.  │                           format:  seg_a:xxxx  f, sn 1234:22 34            │
  180.  │                               where 1234:22 is the location of the table   │
  181.  │                               with 34h entries                             │
  182.  │                                                                            │
  183.  │  label field    = enter label up to 15 characters long                     │
  184.  │                     (label ignored for forced functions;                   │
  185.  │                         do not place a comma before or inside label)       │
  186.  │                                                                            │
  187.  │  comment field  = a short comment can be included here (64 characters max) │
  188.  │                   if a semi-colon appears, the rest of the line is ignored │
  189.  └────────────────────────────────────────────────────────────────────────────┘
  190.  
  191.  
  192.    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Section 3  REFERENCE DEFINITIONS ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  193.  
  194.  seg:off type     options & label        optional short comment
  195.  -------  -- ------------------------- --------------------------
  196. 0000:0000 dw         vector_0h_off     Divide error  ; Interrupt vector
  197. 0000:0002 dw         vector_0h_seg                   ;   references
  198. 0000:0004 dw         vector_1h_off     Single Step
  199. 0000:0006 dw         vector_1h_seg
  200. 0000:0008 dw         vector_2h_off     NMI
  201. 0000:000A dw         vector_2h_seg
  202. 0000:000C dw         vector_3h_off     Debug
  203. 0000:000E dw         vector_3h_seg
  204. 0000:0010 dw         vector_4h_off     Overflow
  205. 0000:0012 dw         vector_4h_seg
  206. 0000:0014 dw         vector_5h_off     Print Screen
  207. 0000:0016 dw         vector_5h_seg
  208. 0000:0018 dw         vector_6h_off
  209. 0000:001A dw         vector_6h_seg
  210. 0000:001C dw         vector_7h_off
  211. 0000:001E dw         vector_7h_seg
  212. 0000:0020 dw         vector_8h_off     Timer Ticks
  213. 0000:0022 dw         vector_8h_seg
  214. 0000:0024 dw         vector_9h_off     Keyboard
  215. 0000:0026 dw         vector_9h_seg
  216. 0000:0028 dw         vector_Ah_off
  217. 0000:002A dw         vector_Ah_seg
  218. 0000:002C dw         vector_Bh_off     Serial
  219. 0000:002E dw         vector_Bh_seg
  220. 0000:0030 dw         vector_Ch_off     Serial
  221. 0000:0032 dw         vector_Ch_seg
  222. 0000:0034 dw         vector_Dh_off     Disk
  223. 0000:0036 dw         vector_Dh_seg
  224. 0000:0038 dw         vector_Eh_off     Diskette
  225. 0000:003A dw         vector_Eh_seg
  226. 0000:003C dw         vector_Fh_off     Bad Interrupt
  227. 0000:003E dw         vector_Fh_seg
  228. 0000:0040 dw         vectr_10h_off     Video
  229. 0000:0042 dw         vectr_10h_seg
  230. 0000:0044 dw         vectr_11h_off     Equipment
  231. 0000:0046 dw         vectr_11h_seg
  232. 0000:0048 dw         vectr_12h_off     Memory Size
  233. 0000:004A dw         vectr_12h_seg
  234. 0000:004C dw         vectr_13h_off     Disk Services
  235. 0000:004E dw         vectr_13h_seg
  236. 0000:0054 dw         vectr_15h_off     General Services
  237. 0000:0056 dw         vectr_15h_seg
  238. 0000:0060 dw         vectr_18h_off     ROM Basic
  239. 0000:0062 dw         vectr_18h_seg
  240. 0000:0074 dw, Unused video_hdw_off
  241. 0000:0076 dw, Unused video_hdw_seg
  242. 0000:0078 dw, Unused disk_parm_off
  243. 0000:007A dw, Unused disk_parm_seg
  244. 0000:007C dw, Unused graph_tbl_off
  245. 0000:007E dw, Unused graph_tbl_seg
  246. 0000:0100 dw, Unused vectr_40h_off
  247. 0000:0102 dw, Unused vectr_40h_seg
  248. 0000:0104 dw, Unused hdsk1_parm_off
  249. 0000:0106 dw, Unused hdsk1_parm_seg
  250. 0000:010C dw, Unused vid_g_tbl_off
  251. 0000:010E dw, Unused vid_g_tbl_seg
  252. 0000:0118 dw, Unused hdsk2_parm_off
  253. 0000:011A dw, Unused hdsk2_parm_seg
  254. 0000:01D8 dw, Unused vectr_76h_off
  255. 0000:01DA dw, Unused vectr_76h_seg
  256. 0000:0400 dw, Unused @rs232_port_1_        ; Duplicates
  257. 0000:0402 dw, Unused @rs232_port_2_        ;   (see 0040:0000 for
  258. 0000:0404 dw, Unused @rs232_port_3_        ;   full information)
  259. 0000:0406 dw, Unused @rs232_port_4_
  260. 0000:0408 dw, Unused @prn_port_1_
  261. 0000:040A dw, Unused @prn_port_2_
  262. 0000:040C dw, Unused @prn_port_3_
  263. 0000:040E dw, Unused BIOS_data_seg_
  264. 0000:0410 dw, Unused equip_bits_
  265. 0000:0412 db, Unused init_test_flag_
  266. 0000:0413 dw, Unused main_ram_size_
  267. 0000:0415 dw, Unused chan_io_size_
  268. 0000:0417 db, Unused keybd_flags_1_
  269. 0000:0418 db, Unused keybd_flags_2_
  270. 0000:0419 db, Unused keybd_alt_num_
  271. 0000:041A dw, Unused keybd_q_head_
  272. 0000:041C dw, Unused keybd_q_tail_
  273. 0000:041E dw, Unused, R 10   keybd_queue_
  274. 0000:043C dw, Unused keybd_q_end_
  275. 0000:043E db, Unused dsk_recal_stat_
  276. 0000:043F db, Unused dsk_motor_stat_
  277. 0000:0440 db, Unused dsk_motor_tmr_
  278. 0000:0441 db, Unused dsk_ret_code_
  279. 0000:0442 db, Unused dsk_status_1_
  280. 0000:0443 db, Unused dsk_status_2_
  281. 0000:0444 db, Unused dsk_status_3_
  282. 0000:0445 db, Unused dsk_status_4_
  283. 0000:0446 db, Unused dsk_status_5_
  284. 0000:0447 db, Unused dsk_status_6_
  285. 0000:0448 db, Unused dsk_status_7_
  286. 0000:0448 db, Unused dsk_ctrl_last_
  287. 0000:0449 db, Unused video_mode_
  288. 0000:044A dw, Unused video_columns_
  289. 0000:044C dw, Unused video_buf_siz_
  290. 0000:044E dw, Unused video_segment_
  291. 0000:0450 dw, Unused vid_curs_pos0_
  292. 0000:0452 dw, Unused vid_curs_pos1_
  293. 0000:0454 dw, Unused vid_curs_pos2_
  294. 0000:0456 dw, Unused vid_curs_pos3_
  295. 0000:0458 dw, Unused vid_curs_pos4_
  296. 0000:045A dw, Unused vid_curs_pos5_
  297. 0000:045C dw, Unused vid_curs_pos6_
  298. 0000:045E dw, Unused vid_curs_pos7_
  299. 0000:0460 dw, Unused vid_curs_mode_
  300. 0000:0462 db, Unused video_page_
  301. 0000:0463 dw, Unused @video_port_
  302. 0000:0465 db, Unused video_mode_reg_
  303. 0000:0466 db, Unused video_color_
  304. 0000:0467 dw, Unused @gen_io_ptr_
  305. 0000:0469 dw, Unused @gen_io_seg_
  306. 0000:046B db, Unused gen_int_occurd_
  307. 0000:046C dw, Unused timer_low_
  308. 0000:046E dw, Unused timer_hi_
  309. 0000:0470 db, Unused timer_rolled_
  310. 0000:0471 db, Unused keybd_break_
  311. 0000:0472 dw, Unused warm_boot_flag_
  312. 0000:0474 db, Unused hdsk_status_1_
  313. 0000:0475 db, Unused hdsk_count_
  314. 0000:0476 db, Unused hdsk_head_ctrl_
  315. 0000:0477 db, Unused hdsk_ctrl_port_
  316. 0000:0478 db, Unused prn_timeout_1_
  317. 0000:0479 db, Unused prn_timeout_2_
  318. 0000:047A db, Unused prn_timeout_3_
  319. 0000:047B db, Unused prn_timeout_4_
  320. 0000:047C db, Unused rs232_timeout1_
  321. 0000:047D db, Unused rs232_timeout2_
  322. 0000:047E db, Unused rs232_timeout3_
  323. 0000:047F db, Unused rs232_timeout4_
  324. 0000:0480 dw, Unused @keybd_begin_
  325. 0000:0482 dw, Unused @keybd_end_
  326. 0000:0484 db, Unused video_rows_
  327. 0000:0485 dw, Unused video_pixels_
  328. 0000:0487 db, Unused video_options_
  329. 0000:0488 db, Unused video_switches_
  330. 0000:0489 db, Unused video_1_resrvd_
  331. 0000:048A db, Unused video_2_resrvd_
  332. 0000:048B db, Unused dsk_data_rate_
  333. 0000:048C db, Unused hdsk_status_2_
  334. 0000:048D db, Unused hdsk_error_
  335. 0000:048E db, Unused hdsk_int_flags_
  336. 0000:048F db, Unused hdsk_options_
  337. 0000:0490 db, Unused hdsk0_media_st_
  338. 0000:0491 db, Unused hdsk1_media_st_
  339. 0000:0492 db, Unused hdsk0_start_st_
  340. 0000:0493 db, Unused hdsk1_start_st_
  341. 0000:0494 db, Unused hdsk0_cylinder_
  342. 0000:0495 db, Unused hdsk1_cylinder_
  343. 0000:0496 db, Unused keybd_flags_3_
  344. 0000:0497 db, Unused keybd_flags_4_
  345. 0000:0498 dw, Unused @timer_waitoff_
  346. 0000:049A dw, Unused @timer_waitseg_
  347. 0000:049C dw, Unused timer_clk_low_
  348. 0000:049E dw, Unused timer_clk_hi_
  349. 0000:04A0 dw, Unused timer_clk_flag_
  350. 0000:04A1 db, Unused lan_1_
  351. 0000:04A2 db, Unused lan_2_
  352. 0000:04A3 db, Unused lan_3_
  353. 0000:04A4 db, Unused lan_4_
  354. 0000:04A5 db, Unused lan_5_
  355. 0000:04A6 db, Unused lan_6_
  356. 0000:04A7 db, Unused lan_7_
  357. 0000:04A8 dd, Unused @video_parmtbl_
  358. 0000:04AC dd, Unused @video_sv1area_
  359. 0000:04B0 dd, Unused @video_txt_tbl_
  360. 0000:04B4 dd, Unused @vid_grph_tbl_
  361. 0000:04B8 dd, Unused @video_sv2area_
  362. 0000:04CE dw, Unused days_since1_80_
  363. 0000:0500 db, Unused prn_scrn_stat_a
  364. 0000:D8A8 dw, Unused GDT_info_tbl
  365. 0000:D8B0 dw, Unused IDT_info_tbl
  366. 0000:D8FA dw, Unused GDT_stack_1
  367. 0000:D8FC dw, Unused GDT_stack_2
  368. 0040:0000 dw, C 01   @rs232_port_1         ; Start of primary BIOS RAM
  369. 0040:0002 dw         @rs232_port_2
  370. 0040:0004 dw         @rs232_port_3
  371. 0040:0006 dw         @rs232_port_4
  372. 0040:0008 dw, C 02   @prn_port_1
  373. 0040:000A dw         @prn_port_2
  374. 0040:000C dw         @prn_port_3
  375. 0040:000E dw, C 8A   BIOS_data_seg
  376. 0040:0010 dw, C 03   equip_bits
  377. 0040:0012 db, C 04   init_test_flag
  378. 0040:0013 dw, C 05   main_ram_size
  379. 0040:0015 dw, C 06   chan_io_size
  380. 0040:0017 db, C 07   keybd_flags_1
  381. 0040:0018 db, C 08   keybd_flags_2
  382. 0040:0019 db, C 09   keybd_alt_num
  383. 0040:001A dw, C 0A        keybd_q_head
  384. 0040:001C dw, C 0B        keybd_q_tail
  385. 0040:001E dw, R 10, C 0C  keybd_queue
  386. 0040:003E db, C 0E        dsk_recal_stat
  387. 0040:003F db, C 0F   dsk_motor_stat
  388. 0040:0040 db, C 10   dsk_motor_tmr
  389. 0040:0041 db, C 11   dsk_ret_code
  390. 0040:0042 db, C 12   dsk_status_1
  391. 0040:0043 db         dsk_status_2
  392. 0040:0044 db         dsk_status_3
  393. 0040:0045 db         dsk_status_4
  394. 0040:0046 db         dsk_status_5
  395. 0040:0047 db         dsk_status_6
  396. 0040:0048 db         dsk_status_7
  397. 0040:0049 db, C 14   video_mode
  398. 0040:004A dw, C 15   video_columns
  399. 0040:004C dw, C 16   video_buf_siz
  400. 0040:004E dw, C 17   video_segment
  401. 0040:0050 dw, C 18   vid_curs_pos0
  402. 0040:0052 dw, C 19   vid_curs_pos1
  403. 0040:0054 dw, C 1A   vid_curs_pos2
  404. 0040:0056 dw, C 1B   vid_curs_pos3
  405. 0040:0058 dw, C 1C   vid_curs_pos4
  406. 0040:005A dw, C 1D   vid_curs_pos5
  407. 0040:005C dw, C 1E   vid_curs_pos6
  408. 0040:005E dw, C 1F   vid_curs_pos7
  409. 0040:0060 dw, C 20   vid_curs_mode
  410. 0040:0062 db, C 21   video_page
  411. 0040:0063 dw, C 22   @video_port
  412. 0040:0065 db, C 23   video_mode_reg
  413. 0040:0066 db, C 24   video_color
  414. 0040:0067 dw, C 25   @gen_io_ptr
  415. 0040:0069 dw, C 26   @gen_io_seg
  416. 0040:006B db, C 27   gen_int_occured
  417. 0040:006C dw, C 28   timer_low
  418. 0040:006E dw, C 29   timer_hi
  419. 0040:0070 db, C 2A   timer_rolled
  420. 0040:0071 db, C 2B   keybd_break
  421. 0040:0072 dw, C 2C   warm_boot_flag
  422. 0040:0074 db, C 2D   hdsk_status_1
  423. 0040:0075 db, C 2E   hdsk_count
  424. 0040:0076 db, C 2F   hdsk_head_ctrl
  425. 0040:0077 db, C 30   hdsk_ctrl_port
  426. 0040:0078 db, C 31   prn_timeout_1
  427. 0040:0079 db, C 32   prn_timeout_2
  428. 0040:007A db         prn_timeout_3
  429. 0040:007B db         prn_timeout_4
  430. 0040:007C db, C 33   rs232_timeout_1
  431. 0040:007D db, C 34   rs232_timeout_2
  432. 0040:007E db         rs232_timeout_3
  433. 0040:007F db         rs232_timeout_4
  434. 0040:0080 dw, C 35   @keybd_begin
  435. 0040:0082 dw, C 36   @keybd_end
  436. 0040:0084 db, C 37   video_rows
  437. 0040:0085 dw, C 38   video_pixels
  438. 0040:0087 db, C 39   video_options
  439. 0040:0088 db, C 3A   video_switches
  440. 0040:0089 db, C 3B   video_1_reservd
  441. 0040:008A db, C 3C   video_2_reservd
  442. 0040:008B db, C 3D   dsk_data_rate
  443. 0040:008C db, C 3E   hdsk_status_2
  444. 0040:008D db, C 3F   hdsk_error
  445. 0040:008E db, C 40   hdsk_int_flags
  446. 0040:008F db, C 41   hdsk_options
  447. 0040:0090 db, C 42   hdsk0_media_st
  448. 0040:0091 db, C 43   hdsk1_media_st
  449. 0040:0092 db, C 44   hdsk0_start_st
  450. 0040:0093 db, C 45   hdsk1_start_st
  451. 0040:0094 db, C 46   hdsk0_cylinder
  452. 0040:0095 db, C 47   hdsk1_cylinder
  453. 0040:0096 db, C 48   keybd_flags_3
  454. 0040:0097 db, C 49   keybd_flags_4
  455. 0040:0098 dw, C 4A   @timer_wait_off
  456. 0040:009A dw, C 4B   @timer_wait_seg
  457. 0040:009C dw, C 4C   timer_clk_low
  458. 0040:009E dw, C 4D   timer_clk_hi
  459. 0040:00A0 dw, C 4E   timer_clk_flag
  460. 0040:00A1 db, C 4F   lan_1
  461. 0040:00A2 db         lan_2
  462. 0040:00A3 db         lan_3
  463. 0040:00A4 db         lan_4
  464. 0040:00A5 db         lan_5
  465. 0040:00A6 db         lan_6
  466. 0040:00A7 db         lan_7
  467. 0040:00A8 dd, C 51   @video_sav_tbls
  468. 0040:00CE dw, U,C 56 days_since_1_80
  469. 0040:0100 db, Unused prn_scrn_stat_b
  470. 0050:0000 db, C 57   prn_scrn_stat
  471. B800:0000 d?, Unused video_dply_area
  472. C000:0000 dw, Unused rom_chk_word
  473. C000:0002 db, Unused rom_chk_size
  474. F000:EFC7 db, C 5D   dsk_info_1             ; Start of ROM BIOS data areas
  475. F000:EFC8 db, C 5E   dsk_info_2
  476. F000:EFC9 db, C 5F   dsk_motor_delay
  477. F000:EFCA db, C 60   dsk_sectr_bytes
  478. F000:EFCB db, C 61   dsk_sector_trac
  479. F000:EFCC db, C 62   dsk_head_gap
  480. F000:EFCD db, C 63   dsk_data_length
  481. F000:EFCE db, C 64   dsk_format_gap
  482. F000:EFCF db, C 65   dsk_format_byte
  483. F000:EFD0 db, C 66   dsk_settlg_time
  484. F000:EFD1 db, C 67   dsk_startup_tim
  485. F000:F0A4 db, R 10, C 68  video_hdwr_tbl1
  486. F000:F0B4 db, R 10, C 69  video_hdrw_tbl2
  487. F000:F0C4 db, R 10, C 6A  video_hdwr_tbl3
  488. F000:F0D4 db, R 10, C 6B  video_hdwr_tbl4
  489. F000:F0E4 dw, C 6C        video_buf_size1
  490. F000:F0E6 dw, C 6D        video_buf_size2
  491. F000:F0E8 dw, C 6E        video_buf_size3
  492. F000:F0EA dw, C 6F        video_buf_size4
  493. F000:F0EC db, R 8, C 70   video_columntbl
  494. F000:F0F4 db, R 8, C 71   video_hdwr_mode
  495. F000:E331 dw, C 72        hdsk_cylinders
  496. F000:E333 db, C 73        hdsk_heads
  497. F000:E334 dw, C 74        hdsk_lo_wrt_cyl
  498. F000:E336 dw, C 75        hdsk_precompcyl
  499. F000:E338 db, C 76        hdsk_err_length
  500. F000:E339 db, C 77        hdsk_misl_bits
  501. F000:E33A db, C 78        hdsk_timeout
  502. F000:E33B db, C 79        hdsk_fmt_timout
  503. F000:E33C db, C 7A        hdsk_chk_timout
  504. F000:E33D dw, C 7B        hdsk_parkng_cyl
  505. F000:E33F db, C 7C        hdsk_sectr_trac
  506. F000:E340 db, C 7D        hdsk_unused
  507. F000:E331 ds, R 003B 
  508.           db, R 10        hdsk_type_
  509. F000:FA6E db, R 400,C 7F  video_char_tbl
  510. F000:FEF3 dw, oln,R 0015,C 87  int_vec_table
  511. F000:FF1D dw, odn,R 2          int_data_table
  512. F000:FF21 dw, R 1         video_ptr
  513. F000:FF23 dw, oln,R 0008  int_vec_table_2
  514. F000:8000 da, R 006C      begin_text
  515. F000:E729 dw, C 8C        baud_rate_tbl
  516. F000:E72B dw              baud_150
  517. F000:E72D dw              baud_300
  518. F000:E72F dw              baud_600
  519. F000:E731 dw              baud_1200
  520. F000:E733 dw              baud_2400
  521. F000:E735 dw              baud_4800
  522. F000:E737 dw              baud_9600
  523. F000:E739 dw              baud_19200
  524. F000:E6F5 dw, C 8D        Config_tbl_size
  525. F000:E6F7 db, C 8E        Config_model
  526. F000:E6F8 db, C 8F        Config_sub_model
  527. F000:E6F9 db, C 90        Config_BIOS_rev
  528. F000:E6FA db, C 91        Config_features
  529. F000:E6FB db, R 4, C 92   Config_info_bytes
  530. F000:FFF5 da, R 9, C 88   rom_versn_date
  531. F000:FFFE db, C 89        model_type
  532. F000:FFFF db              model_sub_type
  533.  
  534. F000:E98A loc, Near, C 02 int_2_NMI
  535. F000:E2C3 loc, Ext,  C 2A int_2_entry
  536. F000:EC5C loc, Near, C 05 int_5_prn_scrn
  537. F000:FF54 loc, Ext,  C 2A int_5_entry
  538. F000:EB29 loc, Near, C 06 int_6_badopcode
  539. F000:ECE7 loc, Near, C 08 int_8_timer
  540. F000:FEA5 loc, Ext,  C 2A int_8_entry
  541. F000:9B00 loc, Near, C 09 int_9_keyboard
  542. F000:E987 loc, Ext,  C 2A int_9_entry
  543. F000:E831 loc, Near, C 0E int_0Eh_floppy
  544. F000:EF57 loc, Ext,  C 2A int_0Eh_entry
  545. F000:853C loc, Near, C 10 int_10h_video
  546. F000:F065 loc, Ext,  C 2A int_10h_entry
  547. F000:F84F loc, Near, C 11 int_11h_equip
  548. F000:F84D loc, Ext,  C 2A int_11h_entry
  549. F000:F841 loc, Near, C 12 int_12h_memsiz
  550. F000:AE26 loc, Near, C 13 int_13h_floppy
  551. F000:EC59 loc, Ext,  C 2A int_13h_entry
  552. F000:F8E2 loc, Near, C 14 int_14h_RS232
  553. F000:E739 loc, Ext,  C 2A int_14h_entry
  554. F000:C964 loc, Near, C 15 int_15h_servics
  555. F000:F859 loc, Ext,  C 2A int_15h_entry
  556. F000:A07C loc, Near, C 16 int_16h_keybd
  557. F000:E82E loc, Ext,  C 2A int_16h_entry
  558. F000:F85C loc, Near, C 17 int_17h_printer
  559. F000:EFD2 loc, Ext,  C 2A int_17h_entry
  560. F000:E005 loc, Near, C 18 int_18h_basic
  561. F000:E000 loc, Ext,  C 2A int_18h_entry
  562. F000:8FC4 loc, Near, C 19 int_19h_bootup
  563. F000:E6F2 loc, Ext,  C 2A int_19h_entry
  564. F000:ED31 loc, Near, C 1A int_1Ah_RTC
  565. F000:FE6E loc, Ext,  C 2A int_1Ah_entry
  566. F000:EA28 loc, Near, C 1E int_70h_clock
  567. F000:EEC7 loc, Near, C 1F int_71h_LAN
  568. F000:EED0 loc, Near, C 23 int_75h_80287
  569. F000:E845 loc, Near, C 24 int_76h_hddone
  570. F000:FF53 loc, Near, C 00 int_return           ; User interrupts (set to an iret intruction)
  571. F000:EA7D loc, Near, C 27 int_unused           ; Unused (bios unsupported) interrupts
  572. F000:806C loc, Near, C 29 system_reset
  573. F000:FFF0 loc, Ext,  C 2A power_on_reset
  574. FFFF:0000 loc, Unused     power_on_reset
  575.  
  576.  
  577.  ┌─── General Notes ─────────────────────────────────────────────────────────┐
  578.  │                                                                           │
  579.  │     1) Must have at least one entry in each section to operate properly.  │
  580.  │          Use "none" if no entries are needed for a section.               │
  581.  │          Separate each section with at least one line with a space in     │
  582.  │          column 1.                                                        │
  583.  │                                                                           │
  584.  │     2) Order of entries within each section is unimportant.               │
  585.  │                                                                           │
  586.  │     3) When a filename is specified in section 1, it is loaded and the    │
  587.  │         first 250 segments can be referenced as seg_a to seg_z and        │
  588.  │          seg_aa to seg_az through to the 250th segment seg_io.            │
  589.  │          These can be used anywhere a segment is required.  For example   │
  590.  │          a location label can be defined as:                              │
  591.  │                                                                           │
  592.  │                        6234:0124  loc, Ext, C 2  temp_value_a             │
  593.  │                  or:   seg_b:0124 loc, Ext, C 2  temp_value_a             │
  594.  │                                                                           │
  595.  │          The second entry will use the 2nd segment within the loaded file │
  596.  │          An error will be generated if a segment is used beyond those     │
  597.  │          specified by the file load (Consult manual for more information).│
  598.  │                                                                           │
  599.  │     4) Section 3 ignores blank lines or lines starting with a space in    │
  600.  │          column 1, or the balance of a line where a semicolon occurs.     │
  601.  │                                                                           │
  602.  │     5) The following examples show acceptable forms for the same function,│
  603.  │          a location entry as a external entry point with comment #2:      │
  604.  │                                                                           │
  605.  │          seg_a:0124 loc, Ext, C 2  temp_value_a  ; prefered format        │
  606.  │          seg_a:0124 l, Ext, C 2  temp_value_a                             │
  607.  │          seg_a:0124 l, E, C=2  temp_value_a      ; notes can follow       │
  608.  │          seg_a:0124 l, External, C 2       temp_value_a                   │
  609.  │          seg_a:0124 Location, Ext, C 02   temp_value_a                    │
  610.  │          seg_a:0124 L, e, c 2 temp_value_a                                │
  611.  │                                                                           │
  612.  │     6) Upper and lower case will have no effect (except for analysis      │
  613.  │          options), but is preserved for labels.                           │
  614.  └───────────────────────────────────────────────────────────────────────────┘
  615.  
  616.